require('framework7/css/framework7.md.css')
require('font-awesome/css/font-awesome.css')
require('./assets/css/main.css')

import Vue from 'vue'

import Framework7 from 'framework7/framework7.esm.bundle'

import Framework7Vue from 'framework7-vue'

import app from './main.vue'

import store from './assets/vuex/storage'

import request from 'utils/request'

import upload from 'utils/upload'

import vueSignature from "vue-signature"

Framework7.use(Framework7Vue)

Vue.use(vueSignature)

Vue.use(request)

Vue.use(upload)

window.document.addEventListener('deviceready', () => {
  new Vue({
    el: '#app',
    store,
    render: c => c('app'),
    components: {
      app
    }
  })
})
